package com.top.art.bo;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author hjh
 * @version 2020/10/5-10:16
 */
@Data
public class BaseBO {

    /**
     * 当前页
     **/
    @NotNull(message = "当前页码不能空")
    private Integer current;

    /**
     * 页数
     */
    @NotNull(message = "每页数量不能空")
    private Integer size;
}
